package com.fzdy.product.entity.split;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Id;
import java.util.Date;


public class ProductProcess {
    private int id;
    private Integer processId;
    private Date finishTime;
    private Integer consumingTime;
    private String result;
    private Integer processResultId;
    private Integer orderProductId;

    @Id
    @Column(name = "id")
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    @Basic
    @Column(name = "process_id")
    public Integer getProcessId() {
        return processId;
    }

    public void setProcessId(Integer processId) {
        this.processId = processId;
    }

    @Basic
    @Column(name = "finish_time")
    public Date getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(Date finishTime) {
        this.finishTime = finishTime;
    }

    @Basic
    @Column(name = "consuming_time")
    public Integer getConsumingTime() {
        return consumingTime;
    }

    public void setConsumingTime(Integer consumingTime) {
        this.consumingTime = consumingTime;
    }

    @Basic
    @Column(name = "result")
    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    @Basic
    @Column(name = "process_result_id")
    public Integer getProcessResultId() {
        return processResultId;
    }

    public void setProcessResultId(Integer processResultId) {
        this.processResultId = processResultId;
    }

    @Basic
    @Column(name = "order_product_id")
    public Integer getOrderProductId() {
        return orderProductId;
    }

    public void setOrderProductId(Integer orderProductId) {
        this.orderProductId = orderProductId;
    }


}
